namespace d1Project.Modules.Common.do4A.Migrations
{
    using d1Common;
    using System;
    using System.Data.Entity;
    using System.Data.Entity.Migrations;
    using System.Linq;

    internal sealed class do4ADbConfig : DbMigrationsConfiguration<do4ADbContext>
    {
        public do4ADbConfig()
        {
            string dbName = do4AModule.ModuleIdDefine;

            AutomaticMigrationsEnabled = true;
            AutomaticMigrationDataLossAllowed = true;
            MigrationsDirectory = dbName + "Migrations";
            ContextKey = dbName + "Context";
        }

        protected override void Seed(do4ADbContext context)
        {

        }
    }
}
